<?PHP
class Editor extends webPage
{
	var $link;
	var $startLink = "lin";
	var $label;

	function Editor()
	{
		parent::webPage();
	}
	function OnClick($sender, $args)
	{
		$this->button2->value = 
			"Clicked!!!";

		$item = new tagOption(
			array('value'=>'3'));
		$item->text = "three";
		$this->select1->addControl($item);
		$this->select1->setSelectedIndex(1);
	}
	function OnChange($sender, $args)
	{
		$this->label->text = $_SERVER["PATH_INFO"];
		$this->par->addControl(new htmlText("Text items"));
	}
}
?>
